#
# Make release versions of the software
#
# Usage: ./make_release.sh  $1
#

# Find and replace the version numbers in the source code
perl -e "s/Version: \d+\.\d+(-.*)?/Version: $1/g;" -pi $(find . -type f)

# Zip them up!
zip -r "LabSpecimenRails-$1.zip" rails/
zip -r "LabSpecimenAndroid-$1.zip" android/